import Vue from 'vue';
import App from './App.vue';
import {
  Button,
  Container,
  Card,
  Main,
  Header,
  Footer,
  Menu,
  MenuItem,
  Autocomplete,
  Badge,
  Col,
  Row,
  Tag,
  Steps,
  Step,
  Carousel,
  CarouselItem,
  Tabs,
  TabPane,
  ButtonGroup,
  Slider,
  Notification,
  Pagination,
  Select,
  Option,
  Input
} from 'element-ui';
import router from './router';
import store from './store';
import 'driver.js/dist/driver.min.css';

Vue.component(Button.name, Button);
Vue.component(Container.name, Container);
Vue.component(Card.name, Card);
Vue.component(Main.name, Main);
Vue.component(Header.name, Header);
Vue.component(Footer.name, Footer);
Vue.component(Menu.name, Menu);
Vue.component(MenuItem.name, MenuItem);
Vue.component(Autocomplete.name, Autocomplete);
Vue.component(Badge.name, Badge);
Vue.component(Col.name, Col);
Vue.component(Row.name, Row);
Vue.component(Tag.name, Tag);
Vue.component(Steps.name, Steps);
Vue.component(Step.name, Step);
Vue.component(Carousel.name, Carousel);
Vue.component(CarouselItem.name, CarouselItem);
Vue.component(Tabs.name, Tabs);
Vue.component(TabPane.name, TabPane);
Vue.component(ButtonGroup.name, ButtonGroup);
Vue.component(Slider.name, Slider);
Vue.component(Pagination.name, Pagination);
Vue.component(Select.name, Select);
Vue.component(Option.name, Option);
Vue.component(Input.name, Input);

Vue.config.productionTip = false;
Vue.prototype.$notify = Notification;
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');
